<div class="box">
        <!-- box / title -->
        <div class="title">
                <h5><? if($this->uri->segment(2) =='view_products') echo "Data Produk"; else echo "Data Harga"; ?></h5>
                <ul class="links">
                       <!--  <li><a href="<?=base_url()."index.php/".$this->uri->segment(1)."/view_products"?>">Data Produk</a></li>
                        <li><a href="<?=base_url()."index.php/".$this->uri->segment(1)."/view_prices"?>">Data Harga</a></li> -->
                </ul>
        </div>
        <!-- end box / title -->
        
       <? if($this->uri->segment(2)=='view_products') {?>
        <div class="table">
                <base href="<?php echo base_url() ?>" />
                <div id="ajaxLoadAni">
                        <img src="file/smooth/images/ajax-loader.gif" alt="Ajax Loading Animation" />
                        <span>Mohon Tunggu...</span>
                </div>
                <table id="records">
                        <!-- <thead>
                                <tr>
                                        <th>No</th>
                                        <th>Kategori Barang</th>
                                        <th>iccid</th>
                                        <th>mdn</th>
				                    	<th>Nama Barang</th>	
                                        <th>kode Barang</th>
                                        <th>Kode Distributor Original</th>
                                        <th>Kode Pengiriman Original</th>
                                        <th>Tanggal Pengiriman</th>
                                        <th>Status Barang</th>
                                </tr>
                        </thead> -->
                        <tbody></tbody>
                </table>
                <?=$this->load->view("grid-products");?>
        </div>
        <? }else {?>
        <div class="table">
                <base href="<?php echo base_url() ?>" />
                <div id="ajaxLoadAni">
                        <img src="file/smooth/images/ajax-loader.gif" alt="Ajax Loading Animation" />
                        <span>Mohon Tunggu...</span>
                </div>
                <table id="records">
                       <!--  <thead>
                                <tr>
                                        <th>No</th>
                                        <th>Nama</th>
                                        <th>Kode Barang</th>
				                    	<th>Group</th>	
                                        <th>Tanggal</th>
                                        <th>Harga</th>
                                        <th>Tipe Kondisi</th>
                                        <th>Tipe Penjualan</th>
                                </tr>
                        </thead> -->
                        <tbody></tbody>
                </table>
                <?=$this->load->view("grid-prices");?>
        </div>
        <? } ?>
            
            
            
</div>
